PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.images Package / PDFPngImage Class / PDFPngImage Constructor / PDFPngImage Constructor(String,boolean)
Path to PNG image.
Performs fast PNG to PDF conversion for RGB only PNG images
In This Topic
    PDFPngImage Constructor(String,boolean)
    In This Topic
    Initializes a new object.
    When fastRgbConversion parameter is true, the zip compressed RGB image data in the PNG image is simply transfered to the PDF file as it is.
    Syntax
    public PDFPngImage( 
       java.lang.String fileName,
       boolean fastRgbConversion
    )

    Parameters

    fileName
    Path to PNG image.
    fastRgbConversion
    Performs fast PNG to PDF conversion for RGB only PNG images
    See Also